<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Dcat\Admin\Admin;

Admin::routes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
	$router->resource('demo', 'DemoController');
	$router->resource('cur', 'Curriculum123Controller');
	$router->resource('demo777', 'Demo777Controller');
	$router->resource('iou', 'IouiouoiuoiuController');
	$router->resource('asd', 'AsdasdasdasdController');
	$router->resource('new', 'CurriculumdeController');
	$router->resource("li","Demo666Controller");
	$router->resource("demo999","Demo999Controller");
	$router->resource("demo555","Demo555Controller");
	$router->resource("demo222","Demo222Controller");
	
   $router->resource('school', 'SchoolController');
   $router->any('api/school', 'SchoolController@listType');
    $router->resource('schoolanli', 'SchoolAnliController');
   $router->any('api/schoolanli', 'SchoolAnliController@listType');
 });